//
//  NSObject+ToNSString.m
//  MioDev
//
//  Created by Mr.Dynasty on 2017/8/7.
//  Copyright © 2017年 wanglichao. All rights reserved.
//

#import "NSObject+ToNSString.h"

@implementation NSObject (ToNSString)
- (NSString *)toNSString{
    if ([self isKindOfClass:[NSNull class]]) {
        return @"";
    }
    if (self == nil || self == NULL) {
        return @"";
    }    
    return [NSString stringWithFormat:@"%@",self];
}
@end
